using Furion.DistributedIDGenerator;

namespace SB2.Core;

/// <summary>
/// 函数信息
/// </summary>
[SugarTable("dynamicFunction")]
public class DynamicFunction
{
    [SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键")]
    public long DynamicFunctionID { get; set; }
    [SugarColumn(ColumnDescription = "名称", IsNullable = false)]
    public string Name { get; set; }
    [SugarColumn(ColumnDescription = "简单描述")]
    public string Des { get; set; }
    [SugarColumn(ColumnDescription = "详细文档")]
    public long DynamicFunctionMdID { get; set; }
    [SugarColumn(ColumnDescription = "脚本内容")]
    public long DynamicFunctionScriptID { get; set; }
    [SugarColumn(ColumnDescription = "文件路径", IsNullable = false)]
    public string FilePath { get; set; }
    [SugarColumn(ColumnDescription = "脚本类型", IsNullable = false)]
    public string FileType { get; set; }
    [SugarColumn(ColumnDescription = "创建人")]
    public int CreateUser { get; set; }
    [SugarColumn(ColumnDescription = "创建时间")]
    public DateTime CreateDate { get; set; }
    [SugarColumn(ColumnDescription = "修改人")]
    public int? ModifyUser { get; set; }
    [SugarColumn(ColumnDescription = "修改时间")]
    public DateTime? ModifyDate { get; set; }
}
